<template>
    <adminHeader/>
    <div class="test">
        <adminNavigator/>
        <div class="workspace">
            <RouterView/>
        </div>
    </div>
</template>
<script setup>
    import adminHeader from './adminHeader.vue';
    // 引入adminHeader组件
    import adminNavigator from './adminNavigator.vue';
    // 引入adminNavigator组件
    import {RouterView} from 'vue-router';
    //引入routerview库组件
</script>
<style scoped>
    .test {
        display: flex;
        width: 100%;
        height: 100vh;
        background-color: #f0f0f0;
        margin-top: 60px; /* 留出页眉的高度 */
    }
    .workspace {
        flex-grow: 1;
        padding: 20px;
        background-color: #fff;
    }
</style>